<div class="container-fluid" style="padding-top: 20px;">

	<div class="row-fluid">
	
		<div class="span8" style="width: 100%;">
		<div class="social-box">
		<div class="header">
		<h4 class=""  style="margin-top: 8px !important">
		<i class="icon-user"></i>
		Vui lòng cập nhật tài khoản của bạn
		</h4>
		</div>
		<div class="body" style="position: relative; width: 50%; margin: auto;">
			 
		<form id="myForm" class="row-fluid" method="post">
		<?php if($this->errorMessage != ""):?>
		<label><span style="color: red;"><b><?php echo $this->errorMessage;?>! Vui lòng điền thông tin đầy đủ.</b></span></label>
		<?php endif;?>
		<label>Tên đầy đủ</label><input class="span12" type="text" name="displayname" value="<?php if($this->user_profile):?><?php echo $this->user_profile["displayname"];?><?php endif;?>"><br>		
		<label>Email</label><input class="span12" type="text" name="email" value="<?php if($this->user_profile):?><?php echo $this->user_profile["email"];?><?php endif;?>"><br>
		<label>Password</label><input class="span12" type="text" name="password" value=""><br>				
		<label>Số điện thoại liên lạc 1</label><input class="span12" type="text" name="phone1" value=""><br>
		<label>Số điện thoại liên lạc 2(nếu có)</label><input class="span12" type="text" name="phone2" value=""><br>
		<label>Facebook Page</label>
		<select name="fanpage">
			<?php foreach($this->accounts['data'] as $account):?>
				<option value="<?php echo $account["id"];?>|<?php echo $account["name"]?>"><?php echo $account["name"];?></option>			
			<?php endforeach;?>
		</select><br>
		<label>Địa chỉ Shop 1</label><textarea name="address1" style="width: 100%;"></textarea><br>
		<label>Địa chỉ Shop 2(nếu có)</label><textarea name="address2" style="width: 100%;"></textarea><br>
		<input class="btn btn-primary" type="submit" id="btn-contact" value="Cập nhật">
		</form>
		 
		</div>
		</div>
		</div>
	
	</div>
	
</div>